package com.stephen.demo.service;

import com.stephen.demo.entity.Role;
import com.stephen.demo.entity.User;

import java.util.Set;

/**
 * Created by stephen on 2021-04-05 16:17 .
 * Description:
 */
public interface UserService {

    Set<String> getPermsByRoleId(Integer roleId);

    void save(User user);

    User findByUserName(String username);

    Set<Role> getRoleByUsername(String username);
}
